﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

namespace Log4Nez.Interfaces
{
    public interface ILogger
    {
        TraceLevel LoggerLevel { get; set; }
        /// <summary>
        /// This method writes the message to the logger
        /// </summary>
        /// <param name="level">The level of entry</param>
        /// <param name="message">The message to write</param>
        /// <param name="formatParams">The eventually stringFormat to use with the logger</param>
        /// <returns></returns>
        bool Write(TraceLevel level, object message, params string[] formatParams);
    }
}
